<%@ page contentType="text/html; charset=utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %>
<html>
<body>
<form class="form-search">
  <input type="text" class="input-medium search-query" name="search" value="${search}">
  <button type="submit" class="btn">查询</button>
</form>
<table class="table table-bordered">
  <thead>
    <tr>
      <th>ID</th>
      <th>昵称</th>
      <th>等级</th>
      <th>性别</th>
      <th>注册日期</th>
      <!-- th>最后登录日期</th>-->
    </tr>
  </thead>
  <tbody>
  <c:forEach var="player" items="${list}">
    <tr>
      <td>${player.playerid}</td>
      <td><tags:user id="${player.playerid}"/></td>
      <td>${player.level}</td>
      <td>${player.sex}</td>
      <td>${player.createTime}</td>
      <!-- td>${player.loginTime}</td-->
    </tr>
  </c:forEach>
  </tbody>
</table>
</body>
</html>